import notification from 'ant-design-vue/es/notification'
import 'ant-design-vue/es/notification/style'
export default (content, title = '系统提示', duration = 4) => {
  notification.destroy()
  notification.error({
    message: title,
    description: content,
    duration
  })
}
